<?php include_once 'video_header.php';?>
<!--主体内容-->
<div class="main">
	<?php include_once 'video_left.php';?>
	
	<div class="right_c">
		<div class="t"><h1><?php echo empty($vInfo['id']) ? "添加" : "修改"   ?>视频</h1></div>
		<div class="addpost">
		<form method="post" action="index.php?mod=video&code=edit_save<?php echo $vInfo['edit'];?>" enctype="multipart/form-data">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td>视频标题：</td>
					<td><input type="text" value="<?php echo $vInfo['videoTitle'] ;?>" name="video_title" class="inptxt" style="width:270px"/></td>
				</tr>
				<tr>
					<td>预览图片：</td>
					<td><input type="file" name="pic" id="pic"  class="inptxt" style="width:360px"/>
					<input type="hidden" name="pic_url" value="<?php echo $vInfo['picUrl'];?>" /></td>
				</tr>
				<tr>
					<td>视频地址：</td>
					<td><input type="text" value="<?php echo $vInfo['videoUrl'] ;?>" name="video_url" class="inptxt" style="width:270px"/></td>
				</tr>
				<tr>
					<td>视频简介：</td>
					<td><textarea class="inptxt" name="content" style="height:100px;width:500px" ><?php echo $vInfo['content'] ;?></textarea></td>
				</tr>
				<tr>
					<td colspan="2" align="center"><button type="submit" class="button">保存</button> <button type="reset" class="reset">取消</button>
					<input type="hidden" name="vid" value="<?php echo $vInfo['id'] ;?>"/></td>
				</tr>
			</table>
		</form>
		</div>
	</div>
<div class="float_both"></div>
</div>
<!--底部-->
<?php include_once 'footer.php';?>
